<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <jsp:include page="../common/header.jsp" />
    <script type="text/javascript">
        $(function () {

        });
    </script>
    <jsp:include page="../common/mycss.jsp" />
</head>

<body>
<div class="lyear-layout-web">
    <div class="lyear-layout-container">
        <!--左侧导航-->
        <aside class="lyear-layout-sidebar">
            <!-- logo -->
            <div id="logo" class="sidebar-header">
                <jsp:include page="../common/title.jsp" />
            </div>
            <div class="lyear-layout-sidebar-scroll">
                <jsp:include page="../common/menu.jsp" />
            </div>
        </aside>
        <!--End 左侧导航-->
        <jsp:include page="../common/top.jsp" />
        <!--页面主要内容-->
        <main class="lyear-layout-content">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="card">
                            <div class="card-toolbar clearfix">
                                <h5>成绩管理——<span style="color:blue"><s:property value="nianJi"/>届 第<s:property value="xueqi"/>学期 <s:property
                                        value="examType"/>考试</span> 成绩统计结果如下</h5>
                            </div>
                            <div class="card-body">
                                <div id="accordion">
                                    <div align="center">
                                        <s:iterator value="map">
                                            班级编号：<s:property value="key.gradeID"/>&nbsp;&nbsp;
                                            班级名称：<span style="color:red"><s:property value="key.year"/>届<s:property value="key.name"/>（<s:property value="key.classID"/>）班</span>&nbsp;&nbsp;
                                            学生人数：<span style="color:red"><s:property value="key.stuCount"/></span>&nbsp;&nbsp;
                                            班主任教师编号：<s:property value="key.adviserID"/>&nbsp;&nbsp;
                                            班主任姓名：<span style="color:red"><s:property value="key.adviserName"/></span>
                                            <br/>
                                            <br/>
                                            <table class="datalist">
                                                <tr>
                                                    <th>课程编号</th>
                                                    <th>课程名称</th>
                                                    <th>课程满分</th>
                                                    <th>最高分</th>
                                                    <th>最低分</th>
                                                    <th>平均分</th>
                                                    <th>及格人数</th>
                                                    <th>不及格人数</th>
                                                </tr>
                                                <s:iterator value="value">
                                                    <tr>
                                                        <td><s:property value="courseId"/></td>
                                                        <td><s:property value="courseName"/></td>
                                                        <td><s:property value="courseScore"/></td>
                                                        <td><s:property value="maxScore"/></td>
                                                        <td><s:property value="minScore"/></td>
                                                        <td><s:property value="avgScore"/></td>
                                                        <td><s:property value="goodCount"/></td>
                                                        <td><s:property value="badCount"/></td>
                                                    </tr>
                                                </s:iterator>
                                            </table>
                                            <br/>
                                            <br/>
                                            <hr>
                                        </s:iterator>

                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>

            </div>

        </main>
        <!--End 页面主要内容-->
    </div>
</div>
</body>
</html>